#include "Material.h"


Material::Material()
	:m_colorDiffuse(0.0f,0.0f,0.0f,1.0f)
	,m_colorAmbient(0.0f,0.0f,0.0f,1.0f)
	,m_colorSpecular(0.0f,0.0f,0.0f,1.0f)
	,m_fShininess(0.0f)
{
}

Material::~Material()
{

}





D3DXCOLOR Material::GetDiffuse()
{
	return m_colorDiffuse;
}

D3DXCOLOR Material::GetAmbient()
{
	return m_colorAmbient;
}

D3DXCOLOR Material::GetSpecular()
{
	return m_colorSpecular;
}

float Material::GetShininess()
{
	return m_fShininess;
}

void Material::SetDiffuse( const D3DXCOLOR& color )
{
	m_colorDiffuse = color;
}

void Material::SetAmbient( const D3DXCOLOR& color )
{
	m_colorAmbient = color;
}

void Material::SetSpecular( const D3DXCOLOR& color )
{
	m_colorSpecular = color;
}

void Material::SetShininess( float shininess )
{
	m_fShininess = shininess;
}
